#ifndef RTE_KB1285_PLC_VARS_H
#define RTE_KB1285_PLC_VARS_H
using u8 = unsigned char;
using u16 = unsigned short;
using s16 = short;
using u32 = unsigned int;
using digital_t = struct {
    u8 xx[(IO_XI_NRS + 7) / 8];
    u8 yy[(IO_YO_NRS + 7) / 8];
    u8 user_saving;
};
using analogValue_t = struct {
    s16 xa[IO_XA_NRS];
    u16 interval;
};
using analogValue32_t = struct {
    float ya[2];
    float xt[2];
};
using holdValue_t = struct {
    u16 ya_max[2];
    u16 ya_zero[2];
};

#endif //RTE_KB1285_PLC_VARS_H
